<%@ page language="java" import="java.util.*,com.entity.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%>

<%  response.setContentType("application/xls");    
response.setHeader("Content-Disposition", "inline; filename=\"test.xls\"");    
%> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">

  <head>
   	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="js/sorttable.js"></script>
<script src="js/main.js"></script>
<script src="js/qy.js"></script>
  </head>
   
  <body>
<div style="display: none;" id="PageHeader" class="PageHeader"></div>
<table class="TableTop" width="100%">
  <tbody><tr>
      <td class="left"></td>
      <td class="center subject">${zd.zdqc } ${rysx } 退休人员
        <span style="padding-left: 950px;">共${fn:length(clist) }条</span>
      </td>
      <td class="right"></td>
   </tr>
</tbody></table>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="sortable TableBlock no-top-border">
<thead>
  <tr class="title_text">
    <td align="center"   class="TableData" onclick="this.blur(); return sortTable('offTblBdy',  1, true);">部门名称</td>
    <td align="center"   class="TableData" onclick="this.blur(); return sortTable('offTblBdy',  2, true);">退休人员</td>
    </tr>
  </thead>
  <TBODY >
  <c:forEach var="r" items="${clist}">

  <tr>
    <td align="center" class="TableData">${r.zdByBmbh.typename}</td>
    <td align="center" class="TableData">${r.xm}</td>
  </tr>

  </c:forEach>
  </TBODY>
</table>

  </body>
</html>